import { request } from '../../../request';

// 打码管理目录--外层打码信息查询
export function getOuterPrintedCodeLeftList(params: any) {
  return request({
    url: '/mes/printCode/outer/list',
    params
  });
}

export function getOuterRightTableDataDetails(lotNo: number) {
  return request({
    url: '/mes/printCode/outer/details',
    params: {
      lotNo
    }
  });
}

// 打码管理目录--内层打码信息查询
export function getPrintedCodeLeftList(params: any) {
  return request({
    url: '/mes/printCode/inner/list',
    params
  });
}

export function getRightTableDataDetails(lotNo: number) {
  return request({
    url: '/mes/printCode/inner/details',
    params: {
      lotNo
    }
  });
}

// // 验孔机信息查询/dev-api/vcp/ReadHole/selectAllInfo
// export function getWeldingMachineList(params: any) {
//   return request({
//     url: '/vcp/ReadHole/selectAllInfo',
//     method: 'get',
//     params
//   });
// }

// // 验孔机状态查询/dev-api/vcp/ReadHole/selectAllState
// export function getWeldingMachineStatus(params: any) {
//   return request({
//     url: '/vcp/ReadHole/selectAllState',
//     method: 'get',
//     params
//   });
// }
